package org.jeecg.modules.health_code.entity.sm.request;

import java.io.Serializable;

import javax.validation.constraints.NotBlank;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "计算SM2摘要值请求对象")
public class DigestSM2Request implements Serializable
{   
    private static final long serialVersionUID = 4766409954018940686L;

    @ApiModelProperty(value = "公钥",required=true)
    @NotBlank(message = "公钥不能为空")
    private String pubKey;
    
    @ApiModelProperty(value = "AppSecret或Token,具体参考互联网接口说明",required=true)
    @NotBlank(message = "str不能为空")
    private String str;
    
    
}
